//
//  XMSharePlainView.h
//  XiaoMiao
//
//  Created by 23 on 2017/11/9.
//  Copyright © 2017年 smallyou. All rights reserved.
//

#import <UIKit/UIKit.h>
@class XMSharePlainView;

typedef NS_ENUM(NSInteger, XMShareType) {
    
    XMShareTypeWechatFriends            = 1000,         //微信朋友圈
    XMShareTypeQQ                       = 1001,         //QQ好友
    XMShareTypeWeibo                    = 1002,         //新浪微博
    XMShareTypeWechat                   = 1003          //微信好友

};

@protocol XMSharePlainViewDelegate <NSObject>

- (void)sharePlain:(XMSharePlainView *)shareView didSelectedShareType:(XMShareType)type;

- (void)sharePlainDidCancel:(XMSharePlainView *)shareView;

@end

@interface XMSharePlainView : UIView

/**delegate*/
@property(nonatomic,weak) id<XMSharePlainViewDelegate> delegate;

+ (instancetype)sharePlainView;

@end
